<?php include_once('../../_inc/config.php');
      include_once('../../_class/db.php');
?>
<html>
 <head>
  <script language="JavaScript">
  function Send(c, action)
  {
   var cout = c.value;
   window.opener.document.Montant.cout.value = cout;
   window.opener.document.Montant.action = action;
   window.opener.document.Montant.submit();
   window.close();
  }
  </script>
 </head>
 <body>
  <center>
   <form name="Couts">
   	<label>Cout de transport :</label>
	<input type="text" name="cout_trans" />
	<input type="button" value="Envoyez" onClick="Send(this.form.cout_trans, '<?php echo ABS_PATH.ROOT;?>?page=Fmp/Commande&fct=Fmp/CommandeAction&action=Send&id=<?php echo $_GET['id']; ?>');">
   </form>
  </center>
 </body>
</html>